package cn.inface.cn.jiekou4;

public class TestWarrior{
    public static void main(String[] args) {
        Warrior warrior =new Warrior();
        warrior.win();
        System.out.println(warrior.injure(5));
        BloodWarrior bloodWarrior=new BloodWarrior();
        bloodWarrior.win();
        System.out.println(warrior.injure(13));
    }

}
